package org.example.myleet.p1672;

import org.example.myleet.Utils.Assert;
import org.example.myleet.Utils.Parser;

public class Main {
    public static void main(String[] args) {
        Solution solution = new Solution();
        Assert.isTrue(6 == solution.maximumWealth(Parser.parse("[[1,2,3],[3,2,1]]")));
        Assert.isTrue(10 == solution.maximumWealth(Parser.parse("[[1,5],[7,3],[3,5]]")));
        Assert.isTrue(17 == solution.maximumWealth(Parser.parse("[[2,8,7],[7,1,3],[1,9,5]]")));
    }
}
